package com.lsc.Mapper;

import com.lsc.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: springboot_shiro
 * @description: 用户Mapper类
 * @author: 上河图
 * @create: 2020-09-30 21:25
 */
//@Mapper  将相关的*Mapper.xml映射到Mapper接口中
@Mapper
@Repository
public interface UserMapper {

    User queryUser(@Param("username") String username);

}
